import request from '@/utils/request'


//查询视频号关联商品信息
export function productList(params) {
    return request({
      url: '/wx/video/product/list',
      method: 'get',
      params
    })
}

//新增视频号商品关联信息
export function addProduct(data) {
    return request({
      url: '/wx/video/product',
      method: 'post',
      data
    })
}

//查询视频号赚卡下拉框
export function selectList() {
  return request({
    url: '/wx/video/product/select',
    method: 'get',
  })
}
//移除视频号商品关联信息
export function removeProduct(merchantEquityCardId) {
  return request({
    url: `/wx/video/product/${merchantEquityCardId}`,
    method: 'DELETE',
    
  })
}